package com.wtf.generator.model.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
/**
 * date: 2022/6/18 10:59
 * @author linhuanyou
 * @email 496558736@qq.com
 * @version 1.0
 */
@Data
@ToString
public class DataSourcePropertyDTO {
    @NotBlank(message = "请输入数据库链接")
    private String url;
    @NotBlank(message = "请输入数据库账号")
    private String username;
    @NotBlank(message = "请输入数据库密码")
    private String password;
    @NotBlank(message = "请输入数据源名称")
    private String poolName;
    @NotBlank(message = "请输入数据库驱动类")
    private String driverClassName;

}
